//
//  TypeFour.m
//  GoTraveling
//
//  Created by 陈金山 on 15/12/24.
//  Copyright © 2015年 开发华佗. All rights reserved.
//

#import "TypeFour.h"

@implementation TypeFour

- (instancetype)init
{
    self = [super init];
    if (self) {
        self.users = [[User alloc] init];
    }
    return self;
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    
    if ([key isEqualToString:@"user"]) {
        
        [self.users setValuesForKeysWithDictionary:value];
    }
    if ([key isEqualToString:@"id"]) {
        self.tId = value;
    }
}

@end
